<?php defined('TSTP_VERSION') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: unsigned_wholenum.tstp.php 204 2009-03-08 06:21:45Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/2.0.1/types/wholenum/unsigned_wholenum.tstp.php $
*/


function tstp_unsigned_wholenum($var) {
	return is_wholenum($var) && ((int)$var >= 0); // lucky func
}

function tstp_uwholenum($var) { return tstp_unsigned_wholenum($var); }
function tstp_uwnum($var) { return tstp_unsigned_wholenum($var); }
function tstp_uwn($var) { return tstp_unsigned_wholenum($var); }
//function tstp_id($var) { return tstp_unsigned_wholenum($var); }


?>